﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
namespace Vehicle.BLL
{
    /// <summary>
    /// Copyright (C) M-Tear团队
    /// 文 件 名：Motorcade.cs
    /// 版    本：v1.00.0000
    /// 创建标识：2009-08-29    Created by 杨光远 V1.00.0000
    /// 功能说明：Motorcade表逻辑层类（继承于逻辑层基类)
    /// 注意事项：无
    /// 
    /// 更新记录：
    /// 
    /// </summary>
    public class Motorcade : Base_BLL, IMotorcade
    {
      private static readonly Vehicle.Interface.IMotorcade d_Motorcade = Vehicle.Interface.Factory.CreateMotorcade();
      /// <summary>
      /// 绑定页面Repeater控件
      /// </summary>
      /// <param name="Rept">Repeater控件</param>
      ///  <param name="m_ComponentsInfo">系统通用实体层</param>
      public void RepeaterBind(Repeater Rept, Model.ComponentsInfo m_ComponentsInfo)
      {
          d_Motorcade.RepeaterBind(Rept, m_ComponentsInfo);
      }
      /// <summary>
      /// 添加车队信息
      /// </summary>
      /// <param name="m_ComponentsInfo">通用实体对象</param>
      public void Add(Model.MotorcadeInfo m_MotorcadeInfo)
      {
          d_Motorcade.Add(m_MotorcadeInfo);
      }
      /// <summary>
      /// 修改车队信息
      /// </summary>
      /// <param name="m_MotorcadeInfo">通用实体对象</param>
      public void Update(Model.MotorcadeInfo m_MotorcadeInfo)
      {
          d_Motorcade.Update(m_MotorcadeInfo);
      }

      /// <summary>
      /// 绑定页面DropDownList控件
      /// </summary>
      /// <param name="drop">DropDownList控件对象</param>
      public void DropDownListBind(DropDownList drop)
      {
          d_Motorcade.DropDownListBind(drop);
      }
    }
}
